"""
URL configuration for CSL project.

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/4.2/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import path
import app1.views as api
import app2.views as api2
urlpatterns = [
    path('login',api.login),
    path('student/course_query',api.student_course_query),
    path('student/selected_course_query',api.student_selected_course_query),
    path('student/select_course',api.student_select_course),
    path('student/delete_course',api.student_selected_course_delete),
    path('student/score_query',api.student_score_query),
    path('student/signin_query',api.student_signin_query),
    path('student/signin',api.student_signin),
    path('teacher/course_query',api.teacher_query_course),
    path('teacher/student_query',api.teacher_query_student_by_course),
    path('teacher/search_student',api.teacher_search_student),
    path('teacher/add_student',api.teacher_add_student_to_class),
    path('teacher/delete_student',api.teacher_delete_student_from_class),
    path('teacher/student_score',api.teacher_query_student_for_score),
    path('teacher/signin_query',api.teacher_query_signin),
    path('teacher/mod_score',api.teacher_mod_score),
    path('teacher/signin_detail',api.teacher_query_signin_detail),
    path('teacher/signin_release',api.teacher_signin_release),
    path('admin/student', api2.admin_student),
    path('admin/student/add',api2.admin_student_add),
    path('admin/student/delete',api2.admin_student_delete),
    path('admin/student/update',api2.admin_student_update),
    path('admin/teacher',api2.admin_teacher),
    path('admin/teacher/add',api2.admin_teacher_add),
    path('admin/teacher/delete',api2.admin_teacher_delete),
    path('admin/teacher/update',api2.admin_teacher_update),
    path('admin/course',api2.admin_course),
    path('admin/course/add',api2.admin_course_add),
    path('admin/course/delete',api2.admin_course_delete),
    path('admin/course/update',api2.admin_course_update),
    path('admin/course_selection',api2.admin_course_selection),
    path('admin/course_selection/add',api2.admin_course_selection_add),
    path('admin/course_selection/delete',api2.admin_course_selection_delete),
    path('admin/course_selection/update',api2.admin_course_selection_update),
    path('admin/dept',api2.admin_dept),
    path('admin/dept/add',api2.admin_dept_add),
    path('admin/dept/update',api2.admin_dept_update),
    path('admin/classs',api2.admin_classs),
    path('admin/classs/add',api2.admin_classs_add),
    path('admin/classs/update',api2.admin_classs_update),
    path('admin/test',api2.admin_test),

]
